
# -- SSML Support --

# Some version of IBM TTS support SSML. If IbmttsUseSSML
# is set to 1, SSML will be used and advanced features like
# index marking will be working. If set to 0, all SSML is
# deleted from the message prior to sending it to IBM TTS.
# By default, SSML support is switched off.

# IbmttsUseSSML 0

# -- Abbreviation dictionaries --

# Enable the abbreviation dictionaries.
#

IbmttsUseAbbreviation 1

# -- SOUND ICONS --

# IBM TTS Synthesizer does not currently support sound icons
# (audio files that are played by name when an application requests
# a sound icon).  If you have installed the free(b)soft sound-icons
# package, this is the directory where will they be found.  If not
# blank, the IBM TTS Output Module will play them if it finds a
# file whose name matches the sound icon name.  If blank, or no
# matching file is found, the name of the sound icon will be spoken.

#IbmttsSoundIconFolder "/usr/share/sounds/sound-icons/"

# -- DEBUG --

# Debug turns debugging on or off
# See speechd.conf for information where debugging information is stored.

# TODO: Change this to 0 and comment out for final release.

Debug 0

# DebugFile specifies the file where the debugging information
# should be stored (note that the log is overwritten each time
# the module starts)

# DebugFile "/tmp/debug-ibmtts"

# -- VOICES --

# Maps a language code and standard Speech Dispatcher voice to an
# IBM TTS voice dialect.
# See the Speech Dispatcher manual for standard voice names.
# The Dialect must be one of the dialects listed in the DIALECTS section below.

#        Lang Voice     Dialect
#        ---- --------- ------------------------
AddVoice "en" "male1"   "GeneralAmericanEnglish"
AddVoice "en" "male2"   "BritishEnglish"
AddVoice "es" "male1"   "CastilianSpanish"
AddVoice "es" "male2"   "MexicanSpanish"
AddVoice "fr" "male1"   "StandardFrench"
AddVoice "fr" "male2"   "CanadianFrench"
AddVoice "de" "male1"   "StandardGerman"
AddVoice "it" "male1"   "StandardItalian"
AddVoice "zh" "male1"   "MandarinChinese"
AddVoice "zh" "male2"   "MandarinChineseGB"
AddVoice "zh" "male3"   "MandarinChinesePinYin"
#AddVoice "zh" "male1"   "MandarinChineseUCS"
#AddVoice "zh" "male1"   "TaiwaneseMandarin"
#AddVoice "zh" "male2"   "TaiwaneseMandarinBig5"
#AddVoice "zh" "male3"   "TaiwaneseMandarinZhuYin"
#AddVoice "zh" "male1"   "TaiwaneseMandarinPinYin"
#AddVoice "zh" "male2"   "TaiwaneseMandarinUCS"
AddVoice "pt" "male1"   "BrazilianPortuguese"
AddVoice "jp" "male1"   "StandardJapanese"
AddVoice "jp" "male2"   "StandardJapaneseSJIS"
AddVoice "jp" "male3"   "StandardJapaneseUCS"
AddVoice "fi" "male1"   "StandardFinnish"
AddVoice "ko" "male1"   "StandardKorean"
AddVoice "ko" "male2"   "StandardKoreanUHC"
AddVoice "ko" "male3"   "StandardKoreanUCS"
#AddVoice "zh" "male1"   "StandardCantonese"
#AddVoice "zh" "male2"   "StandardCantoneseGB"
#AddVoice "zh" "male3"   "StandardCantoneseUCS"
AddVoice "zh" "male1"   "HongKongCantonese"
AddVoice "zh" "male2"   "HongKongCantoneseBig5"
AddVoice "zh" "male3"   "HongKongCantoneseUCS"
AddVoice "nl" "male1"   "StandardDutch"
AddVoice "nn" "male1"   "StandardNorwegian"
AddVoice "sv" "male1"   "StandardSwedish"
AddVoice "da" "male1"   "StandardDanish"
AddVoice "xx" "male1"   "StandardReserved"
AddVoice "th" "male1"   "StandardThai"
AddVoice "th" "male2"   "StandardThaiTIS"

# -- VOICE PARAMETERS --

# This table provides a mechanism for fine-tuning the voices used for synthesis.
# The dialect is chosen by the table above, then adjusted according to these parameters.
# The columns are:
#   Voice Name   - See the Speech Dispatcher manual for standard voice names.  Use lowercase names.
#   M/F          - Gender.   0 = male. 1 = female.
#   Br           - Breathiness.  0 to 100. 0 is usually used for males, 40 or 50 for females.
#   Hd Sz        - Head Size.  0 to 100.
#   Pitch Bas    - Pitch Baseline.  0 to 100.
#   Pitch Flc    - Pitch Fluctuation.  0 to 100.
#   Rough        - Roughness.  0 to 100
#   Speed        - Rate.  0 to 100.

# Volume is controlled via speechd.conf or SSIP commands.

# Application RATE or PITCH commands are relative to the settings here.
# For example, if Pitch Bas is 80 below, a PITCH command of -50 would set the
# pitch baseline to halfway between 80 and 0, or 40.

# All columns must be provided.

#                                             Hd  -Pitch-
#                      Voice Name     M/F Br  Sz  Bas Flc Rough Speed
#                      -------------- --- --- --- --- --- ---   ---
#IbmttsVoiceParameters "male1"          0   0  50  65  30   0    50
#IbmttsVoiceParameters "male2"          0   0  86  56  47   0    50
#IbmttsVoiceParameters "male3"          0   0  50  69  34   0    70
#IbmttsVoiceParameters "male3"          0  20  30  61  44  18    50
#IbmttsVoiceParameters "female1"        1  50  50  81  30   0    50
#IbmttsVoiceParameters "female2"        1  40  56  89  35   0    70
#IbmttsVoiceParameters "female3"        1  40  45  68  30   3    50
IbmttsVoiceParameters  "child_male"     0   0  35  85  35   0    50
#IbmttsVoiceParameters "child_female"   1   0  22  93  35   0    50

# The table above shows the default mapping.
# It shows the default settings in the IBM TTS Engine, as follows:
#
# SD Voice Name     IBM TTS Voice
# -------------     -------------
# male1             Adult Male 1
# male2             Adult Male 2
# male3             Adult Male 3
# male3             Elderly Male (uncomment the 2nd "male3" line if you want to use this)
# female1           Adult Female 1
# female2           Adult Female 2
# female3           Elderly Female (notice there is no Adult Female 3)
# child_male        none provided (that is why it is uncommented, by default)
# child_female      Child

# -- DIALECTS --
# Do not change these unless you know what you are doing.
# These codes are hard-coded in the IBM TTS engine.
# See ech.h in IBM TTS SDK.

#             Dialect                        Code (Hex)   encoding
#             -----------------------------  ----------- ---------
IbmttsDialect "NODEFINEDCODESET"             "00000000"    "cp1252"
IbmttsDialect "GeneralAmericanEnglish"       "00010000"    "cp1252"
IbmttsDialect "BritishEnglish"               "00010001"    "cp1252"
IbmttsDialect "CastilianSpanish"             "00020000"    "cp1252"
IbmttsDialect "MexicanSpanish"               "00020001"    "cp1252"
IbmttsDialect "StandardFrench"               "00030000"    "cp1252"
IbmttsDialect "CanadianFrench"               "00030001"    "cp1252"
IbmttsDialect "StandardGerman"               "00040000"    "cp1252"
IbmttsDialect "StandardItalian"              "00050000"    "cp1252"
IbmttsDialect "MandarinChinese"              "00060000"    "utf-16"
IbmttsDialect "MandarinChineseGB"            "00060000"    "utf-16"
IbmttsDialect "MandarinChinesePinYin"        "00060100"    "utf-16"
IbmttsDialect "MandarinChineseUCS"           "00060800"    "utf-16"
IbmttsDialect "TaiwaneseMandarin"            "00060001"    "utf-16"
IbmttsDialect "TaiwaneseMandarinBig5"        "00060001"    "utf-16"
IbmttsDialect "TaiwaneseMandarinZhuYin"      "00060101"    "utf-16"
IbmttsDialect "TaiwaneseMandarinPinYin"      "00060201"    "utf-16"
IbmttsDialect "TaiwaneseMandarinUCS"         "00060801"    "utf-16"
IbmttsDialect "BrazilianPortuguese"          "00070000"    "cp1252"
IbmttsDialect "StandardJapanese"             "00080000"    "utf-16"
IbmttsDialect "StandardJapaneseSJIS"         "00080000"    "utf-16"
IbmttsDialect "StandardJapaneseUCS"          "00080800"    "utf-16"
IbmttsDialect "StandardFinnish"              "00090000"    "cp1252"
IbmttsDialect "StandardKorean"               "000A0000"    "utf-16"
IbmttsDialect "StandardKoreanUHC"            "000A0000"    "utf-16"
IbmttsDialect "StandardKoreanUCS"            "000A0800"    "utf-16"
IbmttsDialect "StandardCantonese"            "000B0000"    "utf-16"
IbmttsDialect "StandardCantoneseGB"          "000B0000"    "utf-16"
IbmttsDialect "StandardCantoneseUCS"         "000B0800"    "utf-16"
IbmttsDialect "HongKongCantonese"            "000B0001"    "utf-16"
IbmttsDialect "HongKongCantoneseBig5"        "000B0001"    "utf-16"
IbmttsDialect "HongKongCantoneseUCS"         "000B0801"    "utf-16"
IbmttsDialect "StandardDutch"                "000C0000"    "cp1252"
IbmttsDialect "StandardNorwegian"            "000D0000"    "cp1252"
IbmttsDialect "StandardSwedish"              "000E0000"    "cp1252"
IbmttsDialect "StandardDanish"               "000F0000"    "cp1252"
IbmttsDialect "StandardReserved"             "00100000"    "cp1252"
IbmttsDialect "StandardThai"                 "00110000"    "utf-16"
IbmttsDialect "StandardThaiTIS"              "00110000"    "utf-16"

# -- KEY NAME SUBSTITUTIONS --

# Maps Speech Dispatcher key names used in SSIP KEY commands to speakable words.
# The string in the "SD Key" column occurring anywhere in a KEY command
# is replaced with the string in "Spoken".  The substitutions occur in the
# order listed.  "Lang" determines which language the substitution applies
# to.

#                     Lang  SD Key      Spoken
#                     ----  ----------- -----------
IbmttsKeySubstitution "en"  "kp--"      "keypad minus "
IbmttsKeySubstitution "en"  "kp-"       "keypad "
IbmttsKeySubstitution "en"  "_"         " "
IbmttsKeySubstitution "en"  "#"         "pound "
IbmttsKeySubstitution "en"  "&"         "ampersand "
IbmttsKeySubstitution "en"  "!"         "exclamation mark "
IbmttsKeySubstitution "en"  "¦"         "pipe "
IbmttsKeySubstitution "en"  "¤"         "currency "
IbmttsKeySubstitution "en"  "Ø"         "capital phi "
IbmttsKeySubstitution "en"  "ø"         "phi "
IbmttsKeySubstitution "en"  "ÿ"         "yummel "
IbmttsKeySubstitution "en"  "­"         "dash "
IbmttsKeySubstitution "en"  "A"         "capital A "
IbmttsKeySubstitution "en"  "B"         "capital B "
IbmttsKeySubstitution "en"  "C"         "capital C "
IbmttsKeySubstitution "en"  "D"         "capital D "
IbmttsKeySubstitution "en"  "E"         "capital E "
IbmttsKeySubstitution "en"  "F"         "capital F "
IbmttsKeySubstitution "en"  "G"         "capital G "
IbmttsKeySubstitution "en"  "H"         "capital H "
IbmttsKeySubstitution "en"  "I"         "capital I "
IbmttsKeySubstitution "en"  "J"         "capital J "
IbmttsKeySubstitution "en"  "K"         "capital K "
IbmttsKeySubstitution "en"  "L"         "capital L "
IbmttsKeySubstitution "en"  "M"         "capital M "
IbmttsKeySubstitution "en"  "N"         "capital N "
IbmttsKeySubstitution "en"  "O"         "capital O "
IbmttsKeySubstitution "en"  "P"         "capital P "
IbmttsKeySubstitution "en"  "Q"         "capital Q "
IbmttsKeySubstitution "en"  "R"         "capital R "
IbmttsKeySubstitution "en"  "S"         "capital S "
IbmttsKeySubstitution "en"  "T"         "capital T "
IbmttsKeySubstitution "en"  "U"         "capital U "
IbmttsKeySubstitution "en"  "V"         "capital V "
IbmttsKeySubstitution "en"  "W"         "capital W "
IbmttsKeySubstitution "en"  "X"         "capital X "
IbmttsKeySubstitution "en"  "Y"         "capital Y "
IbmttsKeySubstitution "en"  "Z"         "capital Z "

